@layout("/common/_container.html",{plugins:["ztree"],js:["/assets/modular/system/checi/checi.js"]}){
<div class="layui-body-header">
    <span class="layui-body-header-title">配送车次管理</span>
</div>
<link rel="stylesheet" href="${ctxPath}/assets/common/css/pack.css?v=${constants.getReleaseVersion()}" media="all">
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-lg12">
            <div class="layui-card fix">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
<!--                                <label class="layui-form-label" style="width: 57px">日期</label>-->
                                <div class="layui-inline">
                                    <input id="riqi" class="layui-input" type="text" autocomplete="off"
                                           placeholder="请选择日期"/>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <!--                                <label class="layui-form-label" style="width: 57px">配送门店</label>-->
                                <div class="layui-inline">
                                    <select  lay-filter="mendian" id="mendian" lay-search="">
                                        <option value=''>全部门店</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
<!--                                <label class="layui-form-label pslx">配送线路</label>-->
                                <div class="layui-inline w-110">
                                    <select name="sheng" lay-filter="qy" id="qy" lay-search="">
                                        <option value=''>全部省</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
<!--                                <label class="layui-form-label pslx">配送线路</label>-->
                                <div class="layui-inline w-110">
                                    <select name="shi" lay-filter="peisongLuxian" id="peisongLuxian" lay-search="">
                                        <option value=''>全部市</option>
                                    </select>
                                </div>
                            </div>

                            <div class="layui-inline">
<!--                                <label class="layui-form-label" style="width: 28px">车号</label>-->
                                <div class="layui-inline w-110">
                                    <select  lay-filter="chehao" id="chehao" lay-search="">
                                        <option value=''>全部车号</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
<!--                                <label class="layui-form-label" style="width: 28px">司机</label>-->
                                <div class="layui-inline w-110">
                                    <input id="siji" class="layui-input" type="text" autocomplete="off"
                                           placeholder="请输入司机"/>
                                </div>
                            </div>

                            <div class="layui-inline" style="text-align: center">
                                <button id="btnSearch" class="layui-btn icon-btn">搜索</button>
                                <a id="btnQingkong" class="layui-btn icon-btn" style="margin-left: 15px">清空</a>

                            </div>

                            <div class="layui-inline" style="text-align: center;margin-left: 15px">
                                @if(shiro.hasPermission("/checi/add")){
                                <button id="btnAdd" class="layui-btn icon-btn">添加配送车次</button>
                                @}
<!--                                <button id="send" class="layui-btn icon-btn">推送消息</button>-->
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="noticeTable" lay-filter="noticeTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    @if(shiro.hasPermission("/checi/update")){
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    @}
    @if(shiro.hasPermission("/checi/delete")){
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
    @}
</script>

<script type="text/html" id="statusTpl">
    <input type="checkbox" lay-filter="status" value="{{d.userId}}" lay-skin="switch" lay-text="正常|冻结" {{d.status=='ENABLE'?'checked':''}} />
</script>
<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
<script>
    // $(document.body).width()
    // alert($(document.body).width())
</script>

@}